<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="author" content="买文博">
    <title>生成静态文件</title>
    <style>
        h1 {
            font-size: 36px;
            color: red;
            text-align: center;
            margin: 100px auto;
        }

        p {
            font-size: 24px;
            text-align: center;
            color: purple;
        }
    </style>
</head>
<body>
{%include './temp-nav.html'%}
<h1>文件生成成功! <span id="sec">3</span>秒后自动返回</h1>

<script>
    var sec = document.getElementById('sec');
    var number = sec.innerHTML;
    setInterval(function () {
        number > 1 ? number-- : history.back();
        sec.innerHTML = number;
    }, 1000);
</script>

</body>
</html>